const { status } = require("./status");

exports.HttpException = class {
    constructor(status, message) {
        this.status = status;
        this.message = message;
    }
}

exports.HttpAuthException = class extends this.HttpException {
    constructor() {
        super(status.AUTH_EXCEPTION, '用户没有对应权限');
    }
}